import java.util.Scanner;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 87111
 * Date: 2025-08-17
 * Time: 17:50
 */
public class Test01 {
    public static void main(String[] args) {
        Integer a = 100;
        Integer b = 100;
        System.out.println(a == b);

        Integer c = 200;
        Integer d = 200;
        System.out.println(c == d);
    }
    public static void main3(String[] args) {
        //自动装箱
        int a = 10;
        Integer b = a;
        //手动装箱
        int i = 20;
        Integer j = Integer.valueOf(i);
        System.out.println(j);
        //自动拆箱
        Integer c = 10;
        int d = c;
        //手动拆箱
        Integer e = 20;
        int f = e.intValue();
        System.out.println(f);
    }
    //二分查找
    public static int findNum(int[] arr, int n) {
        int left = 0;
        int right = arr.length;
        while(left <= right) {
            int cent = left + (right - left) / 2;
            if(arr[cent] > n) {
                right = cent;
            }else if(arr[cent] < n) {
                left = cent;
            }else {
                return cent;
            }
        }
        return -1;
    }

    public static void main2(String[] args) {
        int[] arr = {1,2,3,4,5,6};
        int a = findNum(arr,4);
        System.out.println(a);
    }
    public static void main1(String[] args) {
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        for (int i = 0; i < 2 * n; i++) {
            for (int j = 0; j < n; j++) {
                System.out.println("111");
            }
        }

        for (int i = 0; i < n; i++) {
            System.out.println("222");
        }

        for(int i = 0; i < 9; i++) {
            System.out.println("333");
        }
    }
}
